jQuery(function($) {
    $( "#datepicker" ).datepicker({
        showOtherMonths: true,
        selectOtherMonths: false,
        //isRTL:true,


        /*
        changeMonth: true,
        changeYear: true,

        showButtonPanel: true,
        beforeShow: function() {
            //change button colors
            var datepicker = $(this).datepicker( "widget" );
            setTimeout(function(){
                var buttons = datepicker.find('.ui-datepicker-buttonpane')
                .find('button');
                buttons.eq(0).addClass('btn btn-xs');
                buttons.eq(1).addClass('btn btn-xs btn-success');
                buttons.wrapInner('<span class="bigger-110" />');
            }, 0);
        }
*/
    });
	var demo=$(".registerform").Validform({
	    tiptype:3,
	    label:".label",
	    showAllError:true,
		ajaxPost:false,
	    datatype:{
			"zh4-20":/^[\u4E00-\u9FA5\uf900-\ufa2d]{4,20}$/,
			"n16-19":/^\d{16,19}$/,
		},
	});
	demo.eq(0).config({
		ajaxurl:{
			headers: {
				'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
			},
		}
	});

})
